/**
 * @projectName study-note
 * @package Bridge
 * @className Bridge.Product
 */
package Bridge;

/**
 * Product
 * @description 产品抽象类
 * @author answer_wx
 * @date 2022/7/4 15:19
 * @version 1.0
 */
public class Product {
    private IOperate operate;

    public Product(IOperate operate) {
        this.operate = operate;
    }

    public void run() {
        operate.operate();
    }

    public static void m1() {
        System.out.println("父类M1");
    }
}